package com.hrms.patient.mapper;

import com.hrms.patient.domain.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientMapper  {

    /*查询患者信息*/
    /*List<Patient> list();*/


    /*新增患者*/
    int insert(Patient patient);

    /*删除患者*/
    int delete(@Param("userIds") List<Integer> userIds);


    /*更新患者*/
    int update(Patient patient);



    List<Patient> selectPatient(String name, String phone);
}
